package com.chenyue.cm.station.service.impl;


import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.chenyue.cm.base.dao.LcBaseMapper;
import com.chenyue.cm.base.service.BaseServiceImpl;
import com.chenyue.cm.station.dao.JdStationMapper;
import com.chenyue.cm.station.domain.JdStation;
import com.chenyue.cm.station.service.JdStationService;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.io.Serializable;
import java.util.List;


/**
 * @author chenyue-cm
 */
@Service(value = "JdStationService")
public class JdStationServiceImpl extends BaseServiceImpl<JdStation> implements JdStationService {

    private final JdStationMapper jdStationMapper;

    public JdStationServiceImpl(
            @Qualifier("jdStationMapper") JdStationMapper jdStationMapper
    ) {
        this.jdStationMapper = jdStationMapper;
    }

    @Override
    @Resource(name = "jdStationMapper")
    public void setBaseMapper(LcBaseMapper<JdStation, Serializable> baseMapper) {
        this.baseMapper = baseMapper;
    }
}
